package com.sixmac.platform.service;

import com.sixmac.core.toolbox.ajax.AjaxResult;
import com.sixmac.module.Landlord;

/**
 * Created by admin on 2018/8/31.
 */
public interface LoginService {

    AjaxResult bindMobile(String code, String phone, String captcha);

    AjaxResult sendCaptcha(String token,String phone);

    AjaxResult login(String code, String headImage, String name);

    /**
     * 验证手机号码和身份号码是否存在
     *
     * @param phone
     * @param idCard
     * @return
     */
    boolean checkPhoneOrIdCard(Integer id,String phone, String idCard);

}
